package cn.itsource.service;

import cn.itsource.pojo.api.DriverResult;
import cn.itsource.pojo.app.vo.SummaryVo;
import cn.itsource.pojo.domain.DriverSummary;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 司机结算对象 服务类
 * </p>
 *
 * @author beishan
 * @since 2024-03-25
 */
public interface IDriverSummaryService extends IService<DriverSummary> {

    /**
     * 添加 driver id
     * @param id driver id
     */
    void creatDriver(Long id);

    /**
     * 工作台渲染数据
     */
    SummaryVo workBenchData();

    //获取司机的取消订单数和投诉数
    DriverResult getDriverSummary(Long driverId);
}
